home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Deutsche Edition 1
/
Deutsche Edition 1.iso
/
amok
/
amok_lha
/
amok77.lha
/
REXX
/
VersionModul
/
IncOutRev.oed
< prev
next >
Wrap
Text File
|
1993-08-15
|
1KB
|
53 lines
/* -----------------------------------------------------
:Program. IncOutRev.oed
:Author. Albert Weinert [awn]
:Address. Feldblumenweg 2, D-5000 Köln 71
:Version. V1.1
:Date. 22-Jul-1992
:Copyright. Public Domain
:Language. ARexx
:Translator. ARexx 1.15
:Contents. Erhöhen der Userrevisionsnummer eines mit WriteVersionModule.oed
:Contents. erstellt wurde. Danach UpdateVersionModule.oed starten.
:Imports. Nichts
:History. V0.0 [awn] 14-Jul-1992 : Begonnen
:History. V1.0 [awn] 14-Jul-1992 : Funktionierende Version
:History. V1.1 [awn] 22-Jul-1992 : UpdateVersionModule.oed wir jetzt automatisch
:History. am Ende des Skripts gestartet
---------------------------------------------------------*/
options results
address 'OEd'
'insertoff'; 'top'
'title "Erhöhe Revision"'
'findstr' ":Version."; 'next'
'wright';'wright';right
version = " "
Do ForEver
'getasc'; cod = result
IF cod = 32 THEN break
IF cod = 0 THEN break
version = INSERT(D2C(cod),version,LENGTH(version))
'right'
END
IF version = " one" THEN DO
ver = 0
rev = 0
END
ELSE DO
parse VAR version ver "." rev
rev = rev +1
END
top;'findstr ":Version."';next;wright;wright
'write "V"';'write ' ver; 'write "."'; 'write' rev; 'write " "';deleol
findstr ":CharRev.";next;wright;wright;
write "v!";deleol
inserton
rx "Oberon:rexx/UpdateVersionModule.oed"